﻿

function js_openwindow(dscURL, W, H, vars, nombre) {
    var winl = (screen.width - W) / 2;
    var wint = (screen.height - H) / 2;
    winprops = ',height=' + H + ',width=' + W + ',top=' + wint + ',left=' + winl + 'resizable=0,scrollbars =0,status=no ';
    vars = vars + winprops;
    window.open(dscURL, nombre, vars);
}